<me:UIWBBST x:Class="WPFExcelReport.TWBCUT"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT" 
                    xmlns:WS="clr-namespace:WPFExcelReport;assembly=TWASTAMM" 
                    xmlns:BW="clr-namespace:WPFExcelReport;assembly=TWBBEW" 
                    xmlns:WB="clr-namespace:WPFExcelReport;assembly=TWBDAT" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                   x:Name="TV"
                    Background="White"  
                    Loaded="Window_Loaded"
     >
    <me:UIWBBST.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/> 
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>  
    </me:UIWBBST.Resources>
    <WrapPanel  >
        <Grid Margin="10,0,0,0" VerticalAlignment="Top">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock   Grid.Column="0" FontSize="18" Text="{Binding Source={Localization:Translate Word=卷号:}}"></TextBlock>
            <TextBlock  Grid.Column="1" FontSize="18"  Foreground="Red"   
                                      Text="{Binding WBBSTKNR}" Width="160" />
        </Grid> 
        <Grid Margin="10,0,0,0" VerticalAlignment="Top">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock   Grid.Column="0" FontSize="18" Text="{Binding Source={Localization:Translate Word=剪出长度:}}"></TextBlock>
            <ex:NumericBox Text="{Binding CMTR,ElementName=TV,Converter={StaticResource d1000}}"
                                       Grid.Column="1" FontSize="18"   Width="80" />
        </Grid>
        <Button   Click="NewCommand" Height="40" Margin="5,0,0,0" Width="40" >
            <Button.Background>
                <ImageBrush  ImageSource="/ImagePackage;component/Images/Cut.png" />
            </Button.Background>
        </Button>
    </WrapPanel>
</me:UIWBBST>
